CC = gcc

INSTALL_PATH = /udd/tiphan/Downloads/SimGrid/SimGrid-3.10
INCLUDES = -I../include -I$(INSTALL_PATH)/include -I/udd/tiphan/workspace/DFS/includes
DEFS = -L$(INSTALL_PATH)/lib
LDADD = -lm -lsimgrid

SRC=$(wildcard *.c)
BIN=$(SRC:.c=.bin)

all: $(BIN)

%.bin: %.c ../libmrsg.a
	$(CC) $(INCLUDES) $(DEFS) -o $@ $^ $(LDADD)

../libmrsg.a:
	make -C ../

clean:
	rm -vf *.bin *.csv *.trace *.plist

.PHONY: clean
